Pretty Little Treasures


INVOICE

Dear <?php echo $shop['Order']['first_name'];?>,
Your order has been successful, details are below.
Order Date:
Order ID:



Items Ordered:

Description			Item Price			Quantity			Extended Price
<?php foreach ($shop['OrderItem'] as $orderitem): ?>
<?php echo $orderitem['Item']['name']; ?>			$<?php echo $orderitem['Item']['original_price']; ?>			<?php echo $orderitem['quantity']; ?>			$<?php echo $orderitem['subtotal']; ?>

<?php endforeach; ?>

Items:	<?php echo $shop['Order']['quantity'];?>

Total:	$<?php echo $shop['Order']['total'];?>



Your Information:
First Name: <?php echo $shop['Order']['first_name'];?>

Last Name: <?php echo $shop['Order']['last_name'];?>

Email: <?php echo $shop['Order']['email'];?>

Phone: <?php echo $shop['Order']['phone'];?>


Billing Address
Street 1: <?php echo $shop['Order']['billing_address'];?>

Street 2: <?php echo $shop['Order']['billing_address2'];?>

City: <?php echo $shop['Order']['billing_city'];?>

State: <?php echo $shop['Order']['billing_state'];?>

Zip: <?php echo $shop['Order']['billing_zip'];?>
Country: <?php echo $shop['Order']['billing_country'];?>



Shipping address
Street 1: <?php echo $shop['Order']['shipping_address'];?>

Street 2: <?php echo $shop['Order']['shipping_address2'];?>

City: <?php echo $shop['Order']['shipping_city'];?>

State: <?php echo $shop['Order']['shipping_state'];?>

Zip: <?php echo $shop['Order']['shipping_zip'];?>

Country: <?php echo $shop['Order']['shipping_country'];?>





<?php print_r($shop); ?>
